<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="STYLESHEET" type="text/css" href="./styles.css" /></head>
<body>

<!-- ===================================================================== -->
<!-- = XML information goes here                                         = -->
<!-- ===================================================================== -->
<lzelement title="RPC">
    <lztier>RPC Components</lztier>
    <lzcategory>RPC</lzcategory>
    <lzshortdesc>
        Param tag for remotecall.
    </lzshortdesc>
    <lztag>rpc/param.xml</lztag>
</lzelement>

<p>Tag to declaratively set parameter values for &lt;remotecall&gt;. If a
getValue method is declared in the body of remotecall, use its return as value
for paramter. If both getValue method and value attribute are set in param,
getValue wins.</p>

<example title="Usage example" extract="false">
&lt;remotecall name="func1" funcname="someFunc"&gt;
    &lt;param <em>value="'some string value'"</em> /&gt;
&lt;/remotecall&gt;

&lt;remotecall name="func2" funcname="someFunc"&gt;
    &lt;param&gt;
        <em>&lt;method name="getValue"&gt;
            return 'some string value';
        &lt;/method&gt;</em>
    &lt;/param&gt;
&lt;/remotecall&gt; 

&lt;remotecall name="func2" funcname="someFunc"&gt;
    <em>&lt;!-- param will use getValue's return value. --&gt;</em>
    &lt;param value="'a value'"&gt;
        <em>&lt;method name="getValue"&gt;
            return 'some string value';
        &lt;/method&gt;</em>
    &lt;/param&gt;
&lt;/remotecall&gt; 
</example>

<seealso>
<classes><a href="${reference}remotecall.html">remotecall</a></classes>
</seealso>

</body>
</html>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->
